\hypertarget{classdb_1_1_professor}{
\section{db.Professor Class Reference}
\label{classdb_1_1_professor}\index{db::Professor@{db::Professor}}
}


\hyperlink{classdb_1_1_professor}{Professor} model for storing name, courses, ratings, etc.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classdb_1_1_professor_ab894c8c71d4c5c6f9eeaee3164a86dc9}{
def {\bfseries \_\-\_\-str\_\-\_\-}}
\label{classdb_1_1_professor_ab894c8c71d4c5c6f9eeaee3164a86dc9}

\item 
\hypertarget{classdb_1_1_professor_a8932fe8cb90656dfde03c685f6c94b24}{
def {\bfseries \_\-\_\-repr\_\-\_\-}}
\label{classdb_1_1_professor_a8932fe8cb90656dfde03c685f6c94b24}

\item 
\hypertarget{classdb_1_1_professor_a6f0064d21451709db66488ee8883625c}{
def {\bfseries weightedRating}}
\label{classdb_1_1_professor_a6f0064d21451709db66488ee8883625c}

\item 
\hypertarget{classdb_1_1_professor_a8895471ad642dd151dc01752a486b13c}{
def {\bfseries myumRatingOverall}}
\label{classdb_1_1_professor_a8895471ad642dd151dc01752a486b13c}

\item 
\hypertarget{classdb_1_1_professor_a429dd350401196e3e780b27f97fcc64d}{
def {\bfseries rateMyProfessorOverallRating}}
\label{classdb_1_1_professor_a429dd350401196e3e780b27f97fcc64d}

\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classdb_1_1_professor_a9d286885acb1e5296a5ea237846473c0}{
{\bfseries rateMyProfessorRawRatingClarity}}
\label{classdb_1_1_professor_a9d286885acb1e5296a5ea237846473c0}

\item 
\hypertarget{classdb_1_1_professor_a8c8c81f25cef85876ebfece451cba46a}{
{\bfseries rateMyProfessorRawRatingHelpfulness}}
\label{classdb_1_1_professor_a8c8c81f25cef85876ebfece451cba46a}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
tuple \hyperlink{classdb_1_1_professor_a3f48e2147253c83160d4c55cd592b39b}{firstName} = db.StringProperty()
\begin{DoxyCompactList}\small\item\em First name variable. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_a5ffc006d670cf8a44ea63a7fe9441fe0}{lastName} = db.StringProperty()
\begin{DoxyCompactList}\small\item\em Last name variable. \item\end{DoxyCompactList}\item 
\hypertarget{classdb_1_1_professor_a74feadff13d2cbf4a94f028492496887}{
tuple {\bfseries department} = db.StringProperty()}
\label{classdb_1_1_professor_a74feadff13d2cbf4a94f028492496887}

\item 
tuple \hyperlink{classdb_1_1_professor_a3c3a5297e42c1765dc1d47857f6e54d2}{courses} = db.StringListProperty()
\begin{DoxyCompactList}\small\item\em Courses variable. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_a939a88ef18a6a34320736da450c590aa}{rateMyProfessorRawRatingHelpfulness} = db.FloatProperty()
\begin{DoxyCompactList}\small\item\em RateMyProfessor.com Helpfulness variable. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_a690f8954ef65891d767b96044926110a}{rateMyProfessorRawRatingClarity} = db.FloatProperty()
\begin{DoxyCompactList}\small\item\em RateMyProfessor.com Clarity variable. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_a94e2f56b75d9cebb99e64096646616e7}{rateMyProfessorRawRatingEasiness} = db.FloatProperty()
\begin{DoxyCompactList}\small\item\em RateMyProfessor.com Easiness variable. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_ad4e91f429186d7cb951f78d165178e46}{rateMyProfessorNumber} = db.IntegerProperty()
\begin{DoxyCompactList}\small\item\em RateMyProfessor.com Number. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_ae4e4326ffe9a30dda7e6317b2de15437}{myumRatings} = db.ListProperty(float)
\begin{DoxyCompactList}\small\item\em myUM averages from various course evaluation questions. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_ac8bda95b5cc9d27fa12eb500ae95c97d}{myumNumber} = db.IntegerProperty()
\begin{DoxyCompactList}\small\item\em myUM number of courses from a particular professor. \item\end{DoxyCompactList}\item 
tuple \hyperlink{classdb_1_1_professor_ad6b877cc1ea2089d428f8aa7a93265b7}{lastUpdate} = db.DateProperty()
\begin{DoxyCompactList}\small\item\em Last updated ratings. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classdb_1_1_professor}{Professor} model for storing name, courses, ratings, etc. 
\begin{DoxyParams}{Parameters}
{\em db.Model} & The database model for datastore. \\
\hline
\end{DoxyParams}


\subsection{Member Data Documentation}
\hypertarget{classdb_1_1_professor_a3c3a5297e42c1765dc1d47857f6e54d2}{
\index{db::Professor@{db::Professor}!courses@{courses}}
\index{courses@{courses}!db::Professor@{db::Professor}}
\subsubsection[{courses}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.courses} = db.StringListProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_a3c3a5297e42c1765dc1d47857f6e54d2}


Courses variable. 

String of all classes taught by the professor. 
\begin{DoxyParams}{Parameters}
{\em required=True} & Variable is required for any \hyperlink{classdb_1_1_professor}{Professor} object. \\
\hline
\end{DoxyParams}
\hypertarget{classdb_1_1_professor_a3f48e2147253c83160d4c55cd592b39b}{
\index{db::Professor@{db::Professor}!firstName@{firstName}}
\index{firstName@{firstName}!db::Professor@{db::Professor}}
\subsubsection[{firstName}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.firstName} = db.StringProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_a3f48e2147253c83160d4c55cd592b39b}


First name variable. 


\begin{DoxyParams}{Parameters}
{\em required=True} & Variable is required for any \hyperlink{classdb_1_1_professor}{Professor} object. \\
\hline
\end{DoxyParams}
\hypertarget{classdb_1_1_professor_a5ffc006d670cf8a44ea63a7fe9441fe0}{
\index{db::Professor@{db::Professor}!lastName@{lastName}}
\index{lastName@{lastName}!db::Professor@{db::Professor}}
\subsubsection[{lastName}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.lastName} = db.StringProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_a5ffc006d670cf8a44ea63a7fe9441fe0}


Last name variable. 


\begin{DoxyParams}{Parameters}
{\em required=True} & Variable is required for any \hyperlink{classdb_1_1_professor}{Professor} object. \\
\hline
\end{DoxyParams}
\hypertarget{classdb_1_1_professor_ad6b877cc1ea2089d428f8aa7a93265b7}{
\index{db::Professor@{db::Professor}!lastUpdate@{lastUpdate}}
\index{lastUpdate@{lastUpdate}!db::Professor@{db::Professor}}
\subsubsection[{lastUpdate}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.lastUpdate} = db.DateProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_ad6b877cc1ea2089d428f8aa7a93265b7}


Last updated ratings. 

Based of time and date of last scrape. 
\begin{DoxyParams}{Parameters}
{\em required=True} & Variable is required for any \hyperlink{classdb_1_1_professor}{Professor} object. \\
\hline
\end{DoxyParams}
\hypertarget{classdb_1_1_professor_ac8bda95b5cc9d27fa12eb500ae95c97d}{
\index{db::Professor@{db::Professor}!myumNumber@{myumNumber}}
\index{myumNumber@{myumNumber}!db::Professor@{db::Professor}}
\subsubsection[{myumNumber}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.myumNumber} = db.IntegerProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_ac8bda95b5cc9d27fa12eb500ae95c97d}


myUM number of courses from a particular professor. 

\hypertarget{classdb_1_1_professor_ae4e4326ffe9a30dda7e6317b2de15437}{
\index{db::Professor@{db::Professor}!myumRatings@{myumRatings}}
\index{myumRatings@{myumRatings}!db::Professor@{db::Professor}}
\subsubsection[{myumRatings}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.myumRatings} = db.ListProperty(float)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_ae4e4326ffe9a30dda7e6317b2de15437}


myUM averages from various course evaluation questions. 

The business school, for instance, has different questions than arts and sciences. each value in the list is an average across all the course evaluations for a particular professor for a particular question. only the value for \char`\"{}Strongly Agree/Agree\char`\"{} is used (for now). \hypertarget{classdb_1_1_professor_ad4e91f429186d7cb951f78d165178e46}{
\index{db::Professor@{db::Professor}!rateMyProfessorNumber@{rateMyProfessorNumber}}
\index{rateMyProfessorNumber@{rateMyProfessorNumber}!db::Professor@{db::Professor}}
\subsubsection[{rateMyProfessorNumber}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.rateMyProfessorNumber} = db.IntegerProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_ad4e91f429186d7cb951f78d165178e46}


RateMyProfessor.com Number. 

Quantity of ratings pulled to calculate average. \hypertarget{classdb_1_1_professor_a690f8954ef65891d767b96044926110a}{
\index{db::Professor@{db::Professor}!rateMyProfessorRawRatingClarity@{rateMyProfessorRawRatingClarity}}
\index{rateMyProfessorRawRatingClarity@{rateMyProfessorRawRatingClarity}!db::Professor@{db::Professor}}
\subsubsection[{rateMyProfessorRawRatingClarity}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.rateMyProfessorRawRatingClarity} = db.FloatProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_a690f8954ef65891d767b96044926110a}


RateMyProfessor.com Clarity variable. 

\hypertarget{classdb_1_1_professor_a94e2f56b75d9cebb99e64096646616e7}{
\index{db::Professor@{db::Professor}!rateMyProfessorRawRatingEasiness@{rateMyProfessorRawRatingEasiness}}
\index{rateMyProfessorRawRatingEasiness@{rateMyProfessorRawRatingEasiness}!db::Professor@{db::Professor}}
\subsubsection[{rateMyProfessorRawRatingEasiness}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.rateMyProfessorRawRatingEasiness} = db.FloatProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_a94e2f56b75d9cebb99e64096646616e7}


RateMyProfessor.com Easiness variable. 

\hypertarget{classdb_1_1_professor_a939a88ef18a6a34320736da450c590aa}{
\index{db::Professor@{db::Professor}!rateMyProfessorRawRatingHelpfulness@{rateMyProfessorRawRatingHelpfulness}}
\index{rateMyProfessorRawRatingHelpfulness@{rateMyProfessorRawRatingHelpfulness}!db::Professor@{db::Professor}}
\subsubsection[{rateMyProfessorRawRatingHelpfulness}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf db.Professor.rateMyProfessorRawRatingHelpfulness} = db.FloatProperty()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_1_1_professor_a939a88ef18a6a34320736da450c590aa}


RateMyProfessor.com Helpfulness variable. 

Helpfulness float variable scraped from RateMyProfessor.com. 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
db.py\end{DoxyCompactItemize}
